package com.greenold.dashboard.domain.vo;

/**
 * @author YueYang
 * Created on 2025/10/17 16:26
 * @version 1.0
 */
public class DataVO {
    /**
     * 数据名称
     */
    private String name;

    /**
     * 数据值
     */
    private Long value;

    /**
     * 雷达图最大值max
     */
    private Long max;


    public DataVO() {
    }

    public DataVO(String name, Long value) {
        this.name = name;
        this.value = value;
    }

    public DataVO(String name, Long value, Long max) {
        this.name = name;
        this.value = value;
        this.max = max;
    }

    /**
     * 获取
     *
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     *
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     *
     * @return value
     */
    public Long getValue() {
        return value;
    }

    /**
     * 设置
     *
     * @param value
     */
    public void setValue(Long value) {
        this.value = value;
    }

    /**
     * 获取
     *
     * @return max
     */
    public Long getMax() {
        return max;
    }

    /**
     * 设置
     *
     * @param max
     */
    public void setMax(Long max) {
        this.max = max;
    }

    public String toString() {
        return "DataVO{name = " + name + ", value = " + value + ", max = " + max + "}";
    }
}
